extends Node2D


func _on_area_2d_body_entered(body):
	if body.is_in_group("Player"):
		Global.coin += 1
		GlobalSignal.coinCollected.emit()
		queue_free()	
 
